package com.dubbo.CarBalance.mapper;

import com.dubbo.model.balance.dtos.UnPayQueryDto;
import com.dubbo.model.balance.dtos.payQueryDto;
import com.dubbo.model.balance.pojos.AccountPayBills;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface AccountPayBillsMapper {

//    @Select("select * from account_pay_bills where status = 0")
    List<AccountPayBills> selectUnPay(UnPayQueryDto dto);

    List<AccountPayBills> selectPay(payQueryDto dto);

    @Select("select * from account_pay_bills where payment_id = #{id}")
    AccountPayBills selectByPaymentId(String id);
}
